package com.learn.eduuserboot.service;

import com.learn.eduuserboot.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author m
 * @since 2022-04-22
 */
public interface UserService extends IService<User> {

    Integer checkPhone(String phone);

    void register(String phone, String password, String nickname, String headimg);

    User login(String phone, String password);
}
